package com.quickcancellation.crm.mapper;

//import com.quickcancellation.crm.entity.Userinfo;

import com.github.yulichang.base.MPJBaseMapper;
import com.quickcancellation.crm.pojo.entity.Userinfo;
import com.quickcancellation.crm.pojo.vo.PrincipalVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author baomidou
 * @since 2023-02-22
 */
public interface UserinfoMapper extends MPJBaseMapper<Userinfo> {

    /**
     * 获取营销区域负责人
     * @return
     */
    List<PrincipalVo> getprincipalList();


    /**
     * 获取不同模块负责人
     * @param roleName
     * @return
     */
    List<PrincipalVo> getprincipalListByRoleName(@Param("roleName") String roleName);
}
